e66a4d8873013740fea830f953f58e5761c7660f,tests/org/elixir_lang/beam/BeamTest.java,BeamTest,erlangModule,#,68

Before Change



        assertNotNull(exports);

        Pair<SortedMap<String, SortedMap<Integer, Export>>, SortedSet<Export>> exportByArityByNameNamelessExportSet =
                exports.exportByArityByName(atoms);

        assertNotNull(exportByArityByNameNamelessExportSet);

        Set<Export> namelessExportSet = exportByArityByNameNamelessExportSet.second;

        assertTrue("There are nameless exports", namelessExportSet.isEmpty());

        SortedMap<String, SortedMap<Integer, Export>> exportByArityByName = exportByArityByNameNamelessExportSet.first;

        Map<Integer, Export> exportByArity = exportByArityByName.get("extract");

After Change



        assertTrue("There are no exports", exportCount > 0);

        SortedSet<MacroNameArity> macroNameAritySortedSet = exports.macroNameAritySortedSet(atoms);

        assertEquals("There are nameless exports", exportCount, macroNameAritySortedSet.size());